package com.syni.mdd.sjb.common.component.mybatis.dxshapp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 角色表
 * </p>
 *
 * @author lcc
 * @since 2020-06-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class BmsDxClientRole implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    private Integer bmsUserId;

    /**
     * 角色id(目前1为用户，2为商户,3为店员，4：电享商户app商家)
     */
    private Integer roleId;

    /**
     * 创建时间
     */
    private LocalDateTime newTime;


    public static final String ID = "id";

    public static final String BMS_USER_ID = "bms_user_id";

    public static final String ROLE_ID = "role_id";

    public static final String NEW_TIME = "new_time";

}
